{% extends 'base_dashboard.html' %} {% block title %}{{ action }} Course — Online LMS{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

{{ action }} Course

{% if action == 'Create' %}Add a new course to your portfolio{% else %}Update course information{% endif %}

Back to Dashboard
{% csrf_token %} {% if form.non_field_errors %}
{% for error in form.non_field_errors %}
{{ error }}
{% endfor %}
{% endif %}
Basic Information
{{ form.title }} {% if form.title.errors %}
{{ form.title.errors.0 }}
{% endif %}
{{ form.category }}
Helps learners filter this course.
{{ form.short_description }} {% if form.short_description.errors %}
{{ form.short_description.errors.0 }}
{% endif %}
Displayed on course listings. Keep under 120 characters.
{{ form.full_description }} {% if form.full_description.errors %}
{{ form.full_description.errors.0 }}
{% endif %}
Pricing & Schedule
{{ site_settings.currency_symbol }} {{ form.price }}
{% if form.price.errors %}
{{ form.price.errors.0 }}
{% endif %}
Enter 0 for a free course.
{{ form.duration }} {% if form.duration.errors %}
{{ form.duration.errors.0 }}
{% endif %}
e.g. “8 weeks” or “40 hours”
{{ form.status }} {% if form.status.errors %}
{{ form.status.errors.0 }}
{% endif %}
{{ form.start_date }} {% if form.start_date.errors %}
{{ form.start_date.errors.0 }}
{% endif %}
Enrollment opens from this date.
{{ form.end_date }} {% if form.end_date.errors %}
{{ form.end_date.errors.0 }}
{% endif %}
Course closes on this date.
Cancel
Course Thumbnail
{% if form.instance.thumbnail %}
Current thumbnail
Upload a new image to replace.
{% else %}
Preview appears here
Preview {% endif %} {{ form.thumbnail }} {% if form.thumbnail.errors %}
{{ form.thumbnail.errors.0 }}
{% endif %}
Status Guide
Published — Visible to students & open for enrollment.
Draft — Hidden from students. Safe to keep editing.
Tips
  • Use a clear, keyword-rich title.
  • Short description appears on course cards.
  • Thumbnail: 16:9 ratio, at least 800×450px.
  • Keep status Draft while building; publish when ready.
{% endblock %} {% block extra_js %} {% endblock %}